<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>现代中文可视化网页设计</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            line-height: 1.8;
            color: #333;
        }
        h1, h2, h3, h4 {
            font-family: 'Noto Serif SC', serif;
            font-weight: 600;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .drop-cap:first-letter {
            float: left;
            font-size: 4.5rem;
            line-height: 0.8;
            margin: 0.2em 0.5rem 0 0;
            color: #667eea;
            font-weight: bold;
        }
        .text-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-24 px-4 md:px-0">
        <div class="container mx-auto max-w-5xl text-center">
            <h1 class="text-4xl md:text-5xl font-bold mb-6 leading-tight">探索知识之美</h1>
            <p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto opacity-90">用设计与技术重塑信息体验</p>
            <div class="flex justify-center space-x-4">
                <a href="#content" class="bg-white text-indigo-600 px-6 py-3 rounded-full font-medium hover:bg-gray-100 transition duration-300">
                    <i class="fas fa-book-open mr-2"></i>开始阅读
                </a>
                <a href="#visualization" class="border-2 border-white text-white px-6 py-3 rounded-full font-medium hover:bg-white hover:text-indigo-600 transition duration-300">
                    <i class="fas fa-chart-pie mr-2"></i>数据可视化
                </a>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="container mx-auto max-w-5xl px-4 md:px-0 py-16" id="content">
        <!-- Featured Article -->
        <article class="bg-white rounded-xl shadow-md overflow-hidden mb-16 card-hover">
            <img src="https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80" alt="设计思维" class="w-full h-64 md:h-80 object-cover">
            <div class="p-8">
                <div class="flex items-center mb-4">
                    <span class="inline-block bg-indigo-100 text-indigo-600 px-3 py-1 rounded-full text-sm font-medium">设计理论</span>
                    <span class="text-gray-500 ml-4"><i class="far fa-clock mr-1"></i> 2023年11月</span>
                </div>
                <h2 class="text-3xl font-bold mb-4">现代网页设计的核心原则与实践</h2>
                <p class="text-gray-600 mb-6 drop-cap">在这个数字化时代，优秀的网页设计不仅仅是美观的界面，更是用户体验与信息架构的完美结合。本文将探讨如何通过设计思维提升网站的可用性和吸引力，创造令人难忘的数字体验。</p>
                <a href="#" class="inline-flex items-center text-indigo-600 font-medium hover:text-indigo-800 transition duration-300">
                    阅读更多 <i class="fas fa-arrow-right ml-2"></i>
                </a>
            </div>
        </article>

        <!-- Key Concepts -->
        <section class="mb-16">
            <h2 class="text-2xl md:text-3xl font-bold mb-8 text-center">设计核心要素</h2>
            <div class="grid md:grid-cols-3 gap-8">
                <div class="bg-white p-6 rounded-lg shadow-md card-hover">
                    <div class="text-indigo-500 mb-4 text-3xl"><i class="fas fa-eye"></i></div>
                    <h3 class="text-xl font-bold mb-3">视觉层次</h3>
                    <p class="text-gray-600">通过大小、颜色和间距的巧妙运用，引导用户关注最重要的内容，创造清晰的视觉流。</p>
                </div>
                <div class="bg-white p-6 rounded-lg shadow-md card-hover">
                    <div class="text-indigo-500 mb-4 text-3xl"><i class="fas fa-mobile-alt"></i></div>
                    <h3 class="text-xl font-bold mb-3">响应式设计</h3>
                    <p class="text-gray-600">确保网站能在各种设备上完美呈现，提供一致的用户体验，从小屏手机到大屏显示器。</p>
                </div>
                <div class="bg-white p-6 rounded-lg shadow-md card-hover">
                    <div class="text-indigo-500 mb-4 text-3xl"><i class="fas fa-tachometer-alt"></i></div>
                    <h3 class="text-xl font-bold mb-3">性能优化</h3>
                    <p class="text-gray-600">快速的加载时间是优秀用户体验的基础，通过技术优化确保网站响应迅速且流畅。</p>
                </div>
            </div>
        </section>

        <!-- Data Visualization -->
        <section class="mb-16" id="visualization">
            <h2 class="text-2xl md:text-3xl font-bold mb-8 text-center">网页设计元素关系图</h2>
            <div class="bg-white p-6 rounded-lg shadow-md">
                <div class="mermaid">
                    graph TD
                    A[用户体验] --> B[视觉设计]
                    A --> C[交互设计]
                    A --> D[信息架构]
                    B --> E[色彩理论]
                    B --> F[排版系统]
                    B --> G[图像处理]
                    C --> H[微交互]
                    C --> I[导航设计]
                    D --> J[内容策略]
                    D --> K[信息组织]
                </div>
            </div>
            <p class="text-center text-gray-500 mt-4">点击图表中的节点可以展开更多细节</p>
        </section>

        <!-- Timeline -->
        <section class="mb-16">
            <h2 class="text-2xl md:text-3xl font-bold mb-8 text-center">设计流程时间线</h2>
            <div class="relative">
                <!-- Timeline line -->
                <div class="absolute left-1/2 transform -translate-x-1/2 h-full w-1 bg-indigo-200"></div>
                
                <!-- Timeline items -->
                <div class="mb-8">
                    <div class="flex items-center">
                        <div class="flex-shrink-0 w-1/2 pr-8 text-right">
                            <h3 class="text-xl font-bold">需求分析</h3>
                            <p class="text-gray-600">确定项目目标和用户需求</p>
                        </div>
                        <div class="flex-shrink-0 w-12 h-12 rounded-full bg-indigo-500 text-white flex items-center justify-center mx-4 relative">
                            <i class="fas fa-search"></i>
                        </div>
                        <div class="w-1/2 pl-8"></div>
                    </div>
                </div>
                
                <div class="mb-8">
                    <div class="flex items-center">
                        <div class="w-1/2 pr-8"></div>
                        <div class="flex-shrink-0 w-12 h-12 rounded-full bg-indigo-500 text-white flex items-center justify-center mx-4 relative">
                            <i class="fas fa-pencil-ruler"></i>
                        </div>
                        <div class="flex-shrink-0 w-1/2 pl-8">
                            <h3 class="text-xl font-bold">原型设计</h3>
                            <p class="text-gray-600">创建低保真和高保真原型</p>
                        </div>
                    </div>
                </div>
                
                <div class="mb-8">
                    <div class="flex items-center">
                        <div class="flex-shrink-0 w-1/2 pr-8 text-right">
                            <h3 class="text-xl font-bold">开发实现</h3>
                            <p class="text-gray-600">将设计转化为实际产品</p>
                        </div>
                        <div class="flex-shrink-0 w-12 h-12 rounded-full bg-indigo-500 text-white flex items-center justify-center mx-4 relative">
                            <i class="fas fa-code"></i>
                        </div>
                        <div class="w-1/2 pl-8"></div>
                    </div>
                </div>
                
                <div class="mb-8">
                    <div class="flex items-center">
                        <div class="w-1/2 pr-8"></div>
                        <div class="flex-shrink-0 w-12 h-12 rounded-full bg-indigo-500 text-white flex items-center justify-center mx-4 relative">
                            <i class="fas fa-check-circle"></i>
                        </div>
                        <div class="flex-shrink-0 w-1/2 pl-8">
                            <h3 class="text-xl font-bold">测试迭代</h3>
                            <p class="text-gray-600">用户测试并优化产品</p>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </main>

    <!-- Footer -->
    <footer class="bg-gray-900 text-gray-300 py-12">
        <div class="container mx-auto max-w-5xl px-4 md:px-0">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-4 md:mb-0">
                    <h3 class="text-xl font-bold text-white mb-2">技术小馆</h3>
                    <p class="text-gray-400">探索技术与设计的完美融合</p>
                </div>
                <div>
                    <a href="http://www.yuque.com/jtostring" class="text-indigo-400 hover:text-indigo-300 transition duration-300">
                        <i class="fas fa-external-link-alt mr-2"></i>http://www.yuque.com/jtostring
                    </a>
                </div>
            </div>
            <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-500 text-sm">
                &copy; 2023 技术小馆. 保留所有权利.
            </div>
        </div>
    </footer>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            }
        });

        // 为卡片添加悬停效果
        document.querySelectorAll('.card-hover').forEach(card => {
            card.addEventListener('mouseenter', function() {
                this.style.transform = 'translateY(-5px)';
            });
            card.addEventListener('mouseleave', function() {
                this.style.transform = '';
            });
        });
    </script>
</body>
</html>